package stu.sup.mapper;

import org.apache.ibatis.annotations.Param;
import stu.sup.entity.ProductTpicInfo;
import stu.sup.entity.ProductTpicInfoExample;

import java.util.List;

public interface ProductTpicInfoMapper {
    int countByExample(ProductTpicInfoExample example);

    int deleteByExample(ProductTpicInfoExample example);

    int deleteByPrimaryKey(Integer productPicId);

    int insert(ProductTpicInfo record);

    int insertSelective(ProductTpicInfo record);

    List<ProductTpicInfo> selectByExample(ProductTpicInfoExample example);

    ProductTpicInfo selectByPrimaryKey(Integer productPicId);

    int updateByExampleSelective(@Param("record") ProductTpicInfo record, @Param("example") ProductTpicInfoExample example);

    int updateByExample(@Param("record") ProductTpicInfo record, @Param("example") ProductTpicInfoExample example);

    int updateByPrimaryKeySelective(ProductTpicInfo record);

    int updateByPrimaryKey(ProductTpicInfo record);
}